<?php
/**
 * Kbs
 *
 * Project entry
 * php version : 5.2.6
 *
 * @author      kim
 * @version     1.0
 */

/**
 * Php version manage
 */
if (true === version_compare(phpversion(), '5.2.0', '<')) {
    exit('Boot failure ! (102)');
}

/**
 * Define the short tags for use
 */
define('PROJECT_ROOT',  dirname(dirname(__FILE__)));

/**
 * Bootstrap
 * All go from here !
 *
 */
if (!@include_once(PROJECT_ROOT . '/application/Bootstrap.php')) {
    exit('Boot failure ! (105)');
} elseif (!class_exists('Bootstrap')) {
    exit('Boot failure ! (110)');
} else {
    umask(0);
    Bootstrap::getInstance()->run();
}
